home *** CD-ROM | disk | FTP | other *** search
-
- Shader()
- {//gf3
- SurfaceID(SRFTYPE)
- Shaderquality(3)
- NoLightmaps()
- Pass()
- {
- Lighting()
- Pixelshader("COST.psh")
-
- !include("__Tex1.mtt")
- !include("__Clouds.mtt")
- !include("__TerrainColormapSmall.mtt")
- !include("__WaterDeep.mtt")
-
- !include("__FadeGen.mtt")
- !include("__LightningColors.mtt")
-
- }
-
- lightpass()
- !include("Spot1Tex.mtt")
-
- Cull("cw")
- }
-
- Shader()
- {// >=gf3
- SurfaceID(SRFTYPE)
- NoLightmaps()
- Shaderquality(1)
- Pass()
- {
- Lighting()
- Pixelshader("OST.psh")
-
- !include("__Tex1.mtt")
- !include("__TerrainColormapSmall.mtt")
-
- !include("__FadeGen.mtt")
- !include("__LightningColors.mtt")
-
- }
-
- lightpass()
- !include("Spot1Tex.mtt")
- Cull("cw")
- }
-
- Shader()
- {//gf2
- SurfaceID(SRFTYPE)
- Shaderquality(0)
- NoLightmaps()
- Pass()
- {
- Lighting()
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- texture()
- {
- Image(%colortexturesmall)
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("mul_add", "texture_a", "diffuse", "tfactor_a")
- }
-
-
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image(TEXTURE1)
- !include(TEX1OPTIONSFILE)
- }
- ColorOp("mul", "texture", "current", "current") //texture * lighting
- AlphaOp("arg2", "texture", "diffuse", "current") //fadeblending
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %daycolor_a)
-
- !include("__FadeGenDayColorGF2.mtt")
-
- !include("__LightningColorsGF2.mtt")
-
- }
- lightpass()
- !include("spot_spotmap.mtt")
- Cull("cw")
- }
-
-